import request from '@/utils/request'

export function getList(data) {
	return request({
		url: `/api/example/WorkPersonJob/List?id=${data.id}&type=${data.type}`,
		method: 'POST'
	})
}

export function updateData(data) {
	return request({
		url: `/api/example/WorkPersonJob/update`,
		method: 'POST',
		data
	})
}